<template>
    <div class="acc">
           <input type="primary" class="el-icon-search app" @click="add" placeholder="搜索内容">
    </div>
</template>

<script>
    export default {
        methods: {
           add(){
                this.$router.push('/Search')
            }  
        }   
    }
</script>

<style scoped>
.acc{
    width: 100%;
    height: 9vh;
    background: rgb(255, 255, 255);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;

}
    .app{
  
     width: 90%;
     height: 3.5vh;
     background: rgba(229, 229, 229, 1);
      margin-top: 2.5vh; 
     color: rgba(128, 128, 128, 1);
     border: 0px;
     margin-left: 2vh;
     outline:none;
     padding-left: 2vh;
     border-radius: 0.9vh;
   }
</style>